PK1 -> Crypto_PKCS1_PADDING RSA-OEAP -> Crypto_PKCS1_OAEP_PADDING NO -> Crypto_NO_PADDING -gt; len(mes) % 8 = 0
recomm. 256bit -> JS: just (256 - 512) OAEP only (256)
min.1028 - >4096 bit (mod 8 = byte)
PHP - receive data for further communications.
modifiys internal data, en- decryption with crypto
handles %mes with base64
handles %mes with JSON: encode ->mes|id|name decode ->[mes]
.
-none-